﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace DatabaseConnectionExample
{
    class Program
    {
        static void Main(string[] args)
        {
            TimeSpan timeout = new TimeSpan(1000);

            MySqlConnection mySqlConnection = new MySqlConnection("111", timeout);

            MsSqlConnection msSqlConnection = new MsSqlConnection("222", timeout);

            DatabaseCommand command = new DatabaseCommand("SELECT * FROM db", msSqlConnection);

            command.Execute();

        }
    }
}
